<div class="barnavInner" style="width:658px;">ADDRESS BOOK</div>

<form action="<?=ACCOUNTURL?>/saveaddressbook" method="post">
<table width="100%" cellpadding="8" cellspacing="8">
	<tr>
		<td width="40%" valign="top"><p  style="padding-left:30px;"><b>Edit Address</b></p></td>
		<td width="60%" valign="top"></td>
	</tr>
	<tr>
		<td valign="top"></td>
		<td valign="top"></td>
	</tr>
	<tr>
		<td align="right" valign="top">First Name :</td>
		<td valign="top"><input type="text" name="firstname" value="<?=isset($addressbook->firstname)?$addressbook->firstname:""?>"></td>
	</tr>
		<tr>
		<td align="right" valign="top">Last Name :</td>
		<td valign="top"><input type="text" name="lastname" value="<?=isset($addressbook->lastname)?$addressbook->lastname:""?>"></td>
	</tr>
		<tr>
		<td align="right" valign="top">Company :</td>
		<td valign="top"><input type="text" name="company" value="<?=isset($addressbook->company)?$addressbook->company:""?>"></td>
	</tr>
		<tr>
		<td align="right" valign="top">Address 1 :</td>
		<td valign="top"><input type="text" name="address1" value="<?=isset($addressbook->address1)?$addressbook->address1:""?>"></td>
	</tr>
		<tr>
		<td align="right" valign="top">Address 2 :</td>
		<td valign="top"><input type="text" name="address2" value="<?=isset($addressbook->address2)?$addressbook->address2:""?>"></td>
	</tr>
		<tr>
		<td align="right" valign="top">City :</td>
		<td valign="top"><input type="text" name="city" value="<?=isset($addressbook->city)?$addressbook->city:""?>"></td>
	</tr>
	<tr>
		<td align="right" valign="top">Postal Code :</td>
		<td valign="top"><input type="text" name="postalcode" value="<?=isset($addressbook->postalcode)?$addressbook->postalcode:""?>"></td>
	</tr>
	<tr>
		<td align="right" valign="top">Country :</td>
		<td valign="top">
		<select name="country">
			<option value="">Philippines </option>
		</select>
		
		</td>
	</tr>
		<tr>
		<td align="right" valign="top">Region :</td>
		<td valign="top"><input type="text" name="region" value="<?=isset($addressbook->region)?$addressbook->region:""?>"></td>
	</tr>
	
    <tr>
		<td valign="top">&nbsp;</td>
		<td valign="top"><input type="submit" name="submit" value="CONFIRM" class="btn" /></td>
	</tr>
</table>
</form>